package com.mall.permission.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * URL权限关系对应
 * </p>
 *
 * @author Darren
 * @since 2022-10-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("role_permission")
@ApiModel(value="RolePermission对象", description="URL权限关系对应")
public class RolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限id
     */
    @ApiModelProperty(value = "权限id")
    @TableField("rid")
    private String rid;

    /**
     * url路径id
     */
    @ApiModelProperty(value = "url路径id")
    @TableField("pid")
    private String pid;


}
